gtkimagemenuitem: fix suggestion for replacement
authorStefan Sauer <ensonic@users.sf.net>
Mon, 20 Jul 2015 18:54:52 +0000 (20:54 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 20 Jul 2015 18:54:52 +0000 (20:54 +0200)
gtk_menu_item_new(9 would create an empty menu item. While the stock deprecation
aims to unclutter the menus, I feel this goes too far.

gtk/deprecated/gtkimagemenuitem.c

index f063c2e45e487883650ef843bc6d917a8077b45a..a1aadf937fdc43fb30702528563a188bff9dbaab 100644 (file)
@@ -934,7 +934,7 @@ gtk_image_menu_item_new_with_mnemonic (const gchar *label)
  *
  * Returns: a new #GtkImageMenuItem.
  *
- * Deprecated: 3.10: Use gtk_menu_item_new() instead.
+ * Deprecated: 3.10: Use gtk_menu_item_new_with_label() instead.
  */
 GtkWidget*
 gtk_image_menu_item_new_from_stock (const gchar   *stock_id,